﻿<!DOCTYPE html>
<html>
  <head>
    <title>反射式光电开关</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <meta name="apple-mobile-web-app-capable" content="yes"/>
    <link href="resources/css/jquery-ui-themes.css" type="text/css" rel="stylesheet"/>
    <link href="resources/css/axure_rp_page.css" type="text/css" rel="stylesheet"/>
    <link href="data/styles.css" type="text/css" rel="stylesheet"/>
    <link href="files/反射式光电开关/styles.css" type="text/css" rel="stylesheet"/>
    <script src="resources/scripts/jquery-1.7.1.min.js"></script>
    <script src="resources/scripts/jquery-ui-1.8.10.custom.min.js"></script>
    <script src="resources/scripts/prototypePre.js"></script>
    <script src="data/document.js"></script>
    <script src="resources/scripts/prototypePost.js"></script>
    <script src="files/反射式光电开关/data.js"></script>
    <script type="text/javascript">
      $axure.utils.getTransparentGifPath = function() { return 'resources/images/transparent.gif'; };
      $axure.utils.getOtherPath = function() { return 'resources/Other.html'; };
      $axure.utils.getReloadPath = function() { return 'resources/reload.html'; };
    </script>
  </head>
  <body>
    <div id="base" class="">

      <!-- Unnamed (矩形) -->
      <div id="u194" class="ax_default _一级标题">
        <div id="u194_div" class=""></div>
        <div id="u194_text" class="text ">
          <p><span>所需硬件：</span></p>
        </div>
      </div>

      <!-- Unnamed (组 合) -->
      <div id="u195" class="ax_default" data-left="70" data-top="118" data-width="67" data-height="37">

        <!-- Unnamed (形状) -->
        <div id="u196" class="ax_default box_1">
          <img id="u196_img" class="img " src="images/反射式光电开关/u196.png"/>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u197" class="ax_default box_1">
          <div id="u197_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u198" class="ax_default box_1">
          <div id="u198_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u199" class="ax_default box_1">
          <div id="u199_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u200" class="ax_default box_1">
          <div id="u200_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u201" class="ax_default label">
          <div id="u201_div" class=""></div>
          <div id="u201_text" class="text ">
            <p><span>1</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u202" class="ax_default label">
          <div id="u202_div" class=""></div>
          <div id="u202_text" class="text ">
            <p><span>2</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u203" class="ax_default label">
          <div id="u203_div" class=""></div>
          <div id="u203_text" class="text ">
            <p><span>3</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u204" class="ax_default label">
          <div id="u204_div" class=""></div>
          <div id="u204_text" class="text ">
            <p><span>4</span></p>
          </div>
        </div>
      </div>

      <!-- Unnamed (图片) -->
      <div id="u205" class="ax_default _图片">
        <img id="u205_img" class="img " src="images/反射式光电开关/u205.png"/>
      </div>

      <!-- Unnamed (矩形) -->
      <div id="u206" class="ax_default label">
        <div id="u206_div" class=""></div>
        <div id="u206_text" class="text ">
          <p><span>ITR20001</span></p>
        </div>
      </div>

      <!-- Unnamed (矩形) -->
      <div id="u207" class="ax_default label">
        <div id="u207_div" class=""></div>
        <div id="u207_text" class="text ">
          <p><span>ITR20001原理图</span></p>
        </div>
      </div>

      <!-- Unnamed (组 合) -->
      <div id="u208" class="ax_default" data-left="89" data-top="228" data-width="41" data-height="101">

        <!-- Unnamed (椭圆形) -->
        <div id="u209" class="ax_default ellipse">
          <img id="u209_img" class="img " src="images/反射式光电开关/u209.png"/>
        </div>

        <!-- Unnamed (形状) -->
        <div id="u210" class="ax_default box_1">
          <img id="u210_img" class="img " src="images/反射式光电开关/u210.png"/>
        </div>

        <!-- Unnamed (垂直线) -->
        <div id="u211" class="ax_default line">
          <img id="u211_img" class="img " src="images/反射式光电开关/u211.png"/>
        </div>

        <!-- Unnamed (垂直线) -->
        <div id="u212" class="ax_default line">
          <img id="u212_img" class="img " src="images/反射式光电开关/u212.png"/>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u213" class="ax_default label">
          <div id="u213_div" class=""></div>
          <div id="u213_text" class="text ">
            <p><span>+</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u214" class="ax_default label">
          <div id="u214_div" class=""></div>
          <div id="u214_text" class="text ">
            <p><span>-</span></p>
          </div>
        </div>
      </div>

      <!-- Unnamed (矩形) -->
      <div id="u215" class="ax_default label">
        <div id="u215_div" class=""></div>
        <div id="u215_text" class="text ">
          <p><span>发光LED</span></p>
        </div>
      </div>

      <!-- Unnamed (矩形) -->
      <div id="u216" class="ax_default _一级标题">
        <div id="u216_div" class=""></div>
        <div id="u216_text" class="text ">
          <p><span>硬件连线：</span></p>
        </div>
      </div>

      <!-- Unnamed (组 合) -->
      <div id="u217" class="ax_default" data-left="275" data-top="668" data-width="110" data-height="281">

        <!-- Unnamed (矩形) -->
        <div id="u218" class="ax_default box_1">
          <div id="u218_div" class=""></div>
          <div id="u218_text" class="text ">
            <p><span>Arduino</span></p><p><span>NANO</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u219" class="ax_default box_1">
          <div id="u219_div" class=""></div>
          <div id="u219_text" class="text ">
            <p><span>0</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u220" class="ax_default box_1">
          <div id="u220_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u221" class="ax_default box_1">
          <div id="u221_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u222" class="ax_default box_1">
          <div id="u222_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u223" class="ax_default box_1">
          <div id="u223_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u224" class="ax_default box_1">
          <div id="u224_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u225" class="ax_default box_1">
          <div id="u225_div" class=""></div>
        </div>

        <!-- Unnamed (椭圆形) -->
        <div id="u226" class="ax_default ellipse">
          <img id="u226_img" class="img " src="images/四角开关/u87.png"/>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u227" class="ax_default box_1">
          <div id="u227_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u228" class="ax_default label">
          <div id="u228_div" class=""></div>
          <div id="u228_text" class="text ">
            <p><span>VIN</span></p>
          </div>
        </div>

        <!-- Unnamed (椭圆形) -->
        <div id="u229" class="ax_default ellipse">
          <img id="u229_img" class="img " src="images/四角开关/u87.png"/>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u230" class="ax_default box_1">
          <div id="u230_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u231" class="ax_default label">
          <div id="u231_div" class=""></div>
          <div id="u231_text" class="text ">
            <p><span>GND</span></p>
          </div>
        </div>

        <!-- Unnamed (椭圆形) -->
        <div id="u232" class="ax_default ellipse">
          <img id="u232_img" class="img " src="images/四角开关/u87.png"/>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u233" class="ax_default box_1">
          <div id="u233_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u234" class="ax_default label">
          <div id="u234_div" class=""></div>
          <div id="u234_text" class="text ">
            <p><span>RST</span></p>
          </div>
        </div>

        <!-- Unnamed (椭圆形) -->
        <div id="u235" class="ax_default ellipse">
          <img id="u235_img" class="img " src="images/四角开关/u87.png"/>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u236" class="ax_default box_1">
          <div id="u236_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u237" class="ax_default label">
          <div id="u237_div" class=""></div>
          <div id="u237_text" class="text ">
            <p><span>5V</span></p>
          </div>
        </div>

        <!-- Unnamed (椭圆形) -->
        <div id="u238" class="ax_default ellipse">
          <img id="u238_img" class="img " src="images/四角开关/u87.png"/>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u239" class="ax_default box_1">
          <div id="u239_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u240" class="ax_default label">
          <div id="u240_div" class=""></div>
          <div id="u240_text" class="text ">
            <p><span>A7</span></p>
          </div>
        </div>

        <!-- Unnamed (椭圆形) -->
        <div id="u241" class="ax_default ellipse">
          <img id="u241_img" class="img " src="images/四角开关/u87.png"/>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u242" class="ax_default box_1">
          <div id="u242_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u243" class="ax_default label">
          <div id="u243_div" class=""></div>
          <div id="u243_text" class="text ">
            <p><span>A6</span></p>
          </div>
        </div>

        <!-- Unnamed (椭圆形) -->
        <div id="u244" class="ax_default ellipse">
          <img id="u244_img" class="img " src="images/四角开关/u87.png"/>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u245" class="ax_default label">
          <div id="u245_div" class=""></div>
          <div id="u245_text" class="text ">
            <p><span>A5</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u246" class="ax_default box_1">
          <div id="u246_div" class=""></div>
        </div>

        <!-- Unnamed (椭圆形) -->
        <div id="u247" class="ax_default ellipse">
          <img id="u247_img" class="img " src="images/四角开关/u87.png"/>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u248" class="ax_default box_1">
          <div id="u248_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u249" class="ax_default label">
          <div id="u249_div" class=""></div>
          <div id="u249_text" class="text ">
            <p><span>A4</span></p>
          </div>
        </div>

        <!-- Unnamed (椭圆形) -->
        <div id="u250" class="ax_default ellipse">
          <img id="u250_img" class="img " src="images/四角开关/u87.png"/>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u251" class="ax_default box_1">
          <div id="u251_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u252" class="ax_default label">
          <div id="u252_div" class=""></div>
          <div id="u252_text" class="text ">
            <p><span>A3</span></p>
          </div>
        </div>

        <!-- Unnamed (椭圆形) -->
        <div id="u253" class="ax_default ellipse">
          <img id="u253_img" class="img " src="images/四角开关/u87.png"/>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u254" class="ax_default box_1">
          <div id="u254_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u255" class="ax_default label">
          <div id="u255_div" class=""></div>
          <div id="u255_text" class="text ">
            <p><span>A2</span></p>
          </div>
        </div>

        <!-- Unnamed (椭圆形) -->
        <div id="u256" class="ax_default ellipse">
          <img id="u256_img" class="img " src="images/四角开关/u87.png"/>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u257" class="ax_default box_1">
          <div id="u257_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u258" class="ax_default label">
          <div id="u258_div" class=""></div>
          <div id="u258_text" class="text ">
            <p><span>A1</span></p>
          </div>
        </div>

        <!-- Unnamed (椭圆形) -->
        <div id="u259" class="ax_default ellipse">
          <img id="u259_img" class="img " src="images/四角开关/u87.png"/>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u260" class="ax_default box_1">
          <div id="u260_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u261" class="ax_default label">
          <div id="u261_div" class=""></div>
          <div id="u261_text" class="text ">
            <p><span>A0</span></p>
          </div>
        </div>

        <!-- Unnamed (椭圆形) -->
        <div id="u262" class="ax_default ellipse">
          <img id="u262_img" class="img " src="images/四角开关/u87.png"/>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u263" class="ax_default box_1">
          <div id="u263_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u264" class="ax_default label">
          <div id="u264_div" class=""></div>
          <div id="u264_text" class="text ">
            <p><span>REF</span></p>
          </div>
        </div>

        <!-- Unnamed (椭圆形) -->
        <div id="u265" class="ax_default ellipse">
          <img id="u265_img" class="img " src="images/四角开关/u87.png"/>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u266" class="ax_default box_1">
          <div id="u266_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u267" class="ax_default label">
          <div id="u267_div" class=""></div>
          <div id="u267_text" class="text ">
            <p><span>3V3</span></p>
          </div>
        </div>

        <!-- Unnamed (椭圆形) -->
        <div id="u268" class="ax_default ellipse">
          <img id="u268_img" class="img " src="images/四角开关/u87.png"/>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u269" class="ax_default box_1">
          <div id="u269_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u270" class="ax_default label">
          <div id="u270_div" class=""></div>
          <div id="u270_text" class="text ">
            <p><span>D13</span></p>
          </div>
        </div>

        <!-- Unnamed (椭圆形) -->
        <div id="u271" class="ax_default ellipse">
          <img id="u271_img" class="img " src="images/四角开关/u87.png"/>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u272" class="ax_default box_1">
          <div id="u272_div" class=""></div>
        </div>

        <!-- Unnamed (椭圆形) -->
        <div id="u273" class="ax_default ellipse">
          <img id="u273_img" class="img " src="images/四角开关/u87.png"/>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u274" class="ax_default box_1">
          <div id="u274_div" class=""></div>
        </div>

        <!-- Unnamed (椭圆形) -->
        <div id="u275" class="ax_default ellipse">
          <img id="u275_img" class="img " src="images/四角开关/u87.png"/>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u276" class="ax_default box_1">
          <div id="u276_div" class=""></div>
        </div>

        <!-- Unnamed (椭圆形) -->
        <div id="u277" class="ax_default ellipse">
          <img id="u277_img" class="img " src="images/四角开关/u87.png"/>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u278" class="ax_default box_1">
          <div id="u278_div" class=""></div>
        </div>

        <!-- Unnamed (椭圆形) -->
        <div id="u279" class="ax_default ellipse">
          <img id="u279_img" class="img " src="images/四角开关/u87.png"/>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u280" class="ax_default box_1">
          <div id="u280_div" class=""></div>
        </div>

        <!-- Unnamed (椭圆形) -->
        <div id="u281" class="ax_default ellipse">
          <img id="u281_img" class="img " src="images/四角开关/u87.png"/>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u282" class="ax_default box_1">
          <div id="u282_div" class=""></div>
        </div>

        <!-- Unnamed (椭圆形) -->
        <div id="u283" class="ax_default ellipse">
          <img id="u283_img" class="img " src="images/四角开关/u87.png"/>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u284" class="ax_default box_1">
          <div id="u284_div" class=""></div>
        </div>

        <!-- Unnamed (椭圆形) -->
        <div id="u285" class="ax_default ellipse">
          <img id="u285_img" class="img " src="images/四角开关/u87.png"/>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u286" class="ax_default box_1">
          <div id="u286_div" class=""></div>
        </div>

        <!-- Unnamed (椭圆形) -->
        <div id="u287" class="ax_default ellipse">
          <img id="u287_img" class="img " src="images/四角开关/u87.png"/>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u288" class="ax_default box_1">
          <div id="u288_div" class=""></div>
        </div>

        <!-- Unnamed (椭圆形) -->
        <div id="u289" class="ax_default ellipse">
          <img id="u289_img" class="img " src="images/四角开关/u87.png"/>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u290" class="ax_default box_1">
          <div id="u290_div" class=""></div>
        </div>

        <!-- Unnamed (椭圆形) -->
        <div id="u291" class="ax_default ellipse">
          <img id="u291_img" class="img " src="images/四角开关/u87.png"/>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u292" class="ax_default box_1">
          <div id="u292_div" class=""></div>
        </div>

        <!-- Unnamed (椭圆形) -->
        <div id="u293" class="ax_default ellipse">
          <img id="u293_img" class="img " src="images/四角开关/u87.png"/>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u294" class="ax_default box_1">
          <div id="u294_div" class=""></div>
        </div>

        <!-- Unnamed (椭圆形) -->
        <div id="u295" class="ax_default ellipse">
          <img id="u295_img" class="img " src="images/四角开关/u87.png"/>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u296" class="ax_default box_1">
          <div id="u296_div" class=""></div>
        </div>

        <!-- Unnamed (椭圆形) -->
        <div id="u297" class="ax_default ellipse">
          <img id="u297_img" class="img " src="images/四角开关/u87.png"/>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u298" class="ax_default box_1">
          <div id="u298_div" class=""></div>
        </div>

        <!-- Unnamed (椭圆形) -->
        <div id="u299" class="ax_default ellipse">
          <img id="u299_img" class="img " src="images/四角开关/u87.png"/>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u300" class="ax_default box_1">
          <div id="u300_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u301" class="ax_default label">
          <div id="u301_div" class=""></div>
          <div id="u301_text" class="text ">
            <p><span>TX</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u302" class="ax_default label">
          <div id="u302_div" class=""></div>
          <div id="u302_text" class="text ">
            <p><span>RX</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u303" class="ax_default label">
          <div id="u303_div" class=""></div>
          <div id="u303_text" class="text ">
            <p><span>RST</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u304" class="ax_default label">
          <div id="u304_div" class=""></div>
          <div id="u304_text" class="text ">
            <p><span>GND</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u305" class="ax_default label">
          <div id="u305_div" class=""></div>
          <div id="u305_text" class="text ">
            <p><span>D2</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u306" class="ax_default label">
          <div id="u306_div" class=""></div>
          <div id="u306_text" class="text ">
            <p><span>D3</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u307" class="ax_default label">
          <div id="u307_div" class=""></div>
          <div id="u307_text" class="text ">
            <p><span>D4</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u308" class="ax_default label">
          <div id="u308_div" class=""></div>
          <div id="u308_text" class="text ">
            <p><span>D5</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u309" class="ax_default label">
          <div id="u309_div" class=""></div>
          <div id="u309_text" class="text ">
            <p><span>D6</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u310" class="ax_default label">
          <div id="u310_div" class=""></div>
          <div id="u310_text" class="text ">
            <p><span>D7</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u311" class="ax_default label">
          <div id="u311_div" class=""></div>
          <div id="u311_text" class="text ">
            <p><span>D8</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u312" class="ax_default label">
          <div id="u312_div" class=""></div>
          <div id="u312_text" class="text ">
            <p><span>D9</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u313" class="ax_default label">
          <div id="u313_div" class=""></div>
          <div id="u313_text" class="text ">
            <p><span>D10</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u314" class="ax_default label">
          <div id="u314_div" class=""></div>
          <div id="u314_text" class="text ">
            <p><span>D11</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u315" class="ax_default label">
          <div id="u315_div" class=""></div>
          <div id="u315_text" class="text ">
            <p><span>D12</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u316" class="ax_default box_1">
          <div id="u316_div" class=""></div>
          <div id="u316_text" class="text ">
            <p><span>USB</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u317" class="ax_default box_1">
          <div id="u317_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u318" class="ax_default box_1">
          <div id="u318_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u319" class="ax_default box_1">
          <div id="u319_div" class=""></div>
        </div>
      </div>

      <!-- Unnamed (组 合) -->
      <div id="u320" class="ax_default" data-left="128" data-top="561" data-width="41" data-height="101">

        <!-- Unnamed (椭圆形) -->
        <div id="u321" class="ax_default ellipse">
          <img id="u321_img" class="img " src="images/反射式光电开关/u209.png"/>
        </div>

        <!-- Unnamed (形状) -->
        <div id="u322" class="ax_default box_1">
          <img id="u322_img" class="img " src="images/反射式光电开关/u210.png"/>
        </div>

        <!-- Unnamed (垂直线) -->
        <div id="u323" class="ax_default line">
          <img id="u323_img" class="img " src="images/反射式光电开关/u211.png"/>
        </div>

        <!-- Unnamed (垂直线) -->
        <div id="u324" class="ax_default line">
          <img id="u324_img" class="img " src="images/反射式光电开关/u212.png"/>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u325" class="ax_default label">
          <div id="u325_div" class=""></div>
          <div id="u325_text" class="text ">
            <p><span>+</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u326" class="ax_default label">
          <div id="u326_div" class=""></div>
          <div id="u326_text" class="text ">
            <p><span>-</span></p>
          </div>
        </div>
      </div>

      <!-- Unnamed (组 合) -->
      <div id="u327" class="ax_default" data-left="491" data-top="797" data-width="67" data-height="37">

        <!-- Unnamed (形状) -->
        <div id="u328" class="ax_default box_1">
          <img id="u328_img" class="img " src="images/反射式光电开关/u196.png"/>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u329" class="ax_default box_1">
          <div id="u329_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u330" class="ax_default box_1">
          <div id="u330_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u331" class="ax_default box_1">
          <div id="u331_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u332" class="ax_default box_1">
          <div id="u332_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u333" class="ax_default label">
          <div id="u333_div" class=""></div>
          <div id="u333_text" class="text ">
            <p><span>1</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u334" class="ax_default label">
          <div id="u334_div" class=""></div>
          <div id="u334_text" class="text ">
            <p><span>2</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u335" class="ax_default label">
          <div id="u335_div" class=""></div>
          <div id="u335_text" class="text ">
            <p><span>3</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u336" class="ax_default label">
          <div id="u336_div" class=""></div>
          <div id="u336_text" class="text ">
            <p><span>4</span></p>
          </div>
        </div>
      </div>

      <!-- Unnamed (组 合) -->
      <div id="u337" class="ax_default" data-left="80" data-top="394" data-width="40" data-height="16">

        <!-- Unnamed (矩形) -->
        <div id="u338" class="ax_default box_1">
          <div id="u338_div" class=""></div>
          <div id="u338_text" class="text ">
            <p><span>220Ω</span></p>
          </div>
        </div>
      </div>

      <!-- Unnamed (组 合) -->
      <div id="u339" class="ax_default" data-left="218" data-top="394" data-width="40" data-height="16">

        <!-- Unnamed (矩形) -->
        <div id="u340" class="ax_default box_1">
          <div id="u340_div" class=""></div>
          <div id="u340_text" class="text ">
            <p><span>10KΩ</span></p>
          </div>
        </div>
      </div>

      <!-- Unnamed (矩形) -->
      <div id="u341" class="ax_default label">
        <div id="u341_div" class=""></div>
        <div id="u341_text" class="text ">
          <p><span>220欧电阻</span></p>
        </div>
      </div>

      <!-- Unnamed (矩形) -->
      <div id="u342" class="ax_default label">
        <div id="u342_div" class=""></div>
        <div id="u342_text" class="text ">
          <p><span>10千欧电阻</span></p>
        </div>
      </div>

      <!-- Unnamed (组 合) -->
      <div id="u343" class="ax_default" data-left="524.5" data-top="716.5" data-width="16" data-height="40">

        <!-- Unnamed (矩形) -->
        <div id="u344" class="ax_default box_1">
          <div id="u344_div" class=""></div>
          <div id="u344_text" class="text ">
            <p><span>10KΩ</span></p>
          </div>
        </div>
      </div>

      <!-- Unnamed (连接线) -->
      <div id="u345" class="ax_default _连接线">
        <img id="u345_seg0" class="img " src="images/反射式光电开关/u345_seg0.png" alt="u345_seg0"/>
        <img id="u345_seg1" class="img " src="images/反射式光电开关/u345_seg1.png" alt="u345_seg1"/>
        <div id="u345_text" class="text " style="display:none; visibility: hidden">
          <p></p>
        </div>
      </div>

      <!-- Unnamed (连接线) -->
      <div id="u346" class="ax_default _连接线">
        <img id="u346_seg0" class="img " src="images/反射式光电开关/u346_seg0.png" alt="u346_seg0"/>
        <img id="u346_seg1" class="img " src="images/反射式光电开关/u346_seg1.png" alt="u346_seg1"/>
        <div id="u346_text" class="text " style="display:none; visibility: hidden">
          <p></p>
        </div>
      </div>

      <!-- Unnamed (连接线) -->
      <div id="u347" class="ax_default _连接线">
        <img id="u347_seg0" class="img " src="images/反射式光电开关/u347_seg0.png" alt="u347_seg0"/>
        <img id="u347_seg1" class="img " src="images/反射式光电开关/u347_seg1.png" alt="u347_seg1"/>
        <img id="u347_seg2" class="img " src="images/反射式光电开关/u347_seg2.png" alt="u347_seg2"/>
        <img id="u347_seg3" class="img " src="images/反射式光电开关/u347_seg3.png" alt="u347_seg3"/>
        <div id="u347_text" class="text " style="display:none; visibility: hidden">
          <p></p>
        </div>
      </div>

      <!-- Unnamed (组 合) -->
      <div id="u348" class="ax_default" data-left="504.5" data-top="734.5" data-width="16" data-height="40">

        <!-- Unnamed (矩形) -->
        <div id="u349" class="ax_default box_1">
          <div id="u349_div" class=""></div>
          <div id="u349_text" class="text ">
            <p><span>220Ω</span></p>
          </div>
        </div>
      </div>

      <!-- Unnamed (连接线) -->
      <div id="u350" class="ax_default _连接线">
        <img id="u350_seg0" class="img " src="images/反射式光电开关/u350_seg0.png" alt="u350_seg0"/>
        <div id="u350_text" class="text " style="display:none; visibility: hidden">
          <p></p>
        </div>
      </div>

      <!-- Unnamed (连接线) -->
      <div id="u351" class="ax_default _连接线">
        <img id="u351_seg0" class="img " src="images/反射式光电开关/u351_seg0.png" alt="u351_seg0"/>
        <img id="u351_seg1" class="img " src="images/反射式光电开关/u351_seg1.png" alt="u351_seg1"/>
        <div id="u351_text" class="text " style="display:none; visibility: hidden">
          <p></p>
        </div>
      </div>

      <!-- Unnamed (连接线) -->
      <div id="u352" class="ax_default _连接线">
        <img id="u352_seg0" class="img " src="images/反射式光电开关/u352_seg0.png" alt="u352_seg0"/>
        <img id="u352_seg1" class="img " src="images/反射式光电开关/u352_seg1.png" alt="u352_seg1"/>
        <img id="u352_seg2" class="img " src="images/反射式光电开关/u352_seg2.png" alt="u352_seg2"/>
        <img id="u352_seg3" class="img " src="images/反射式光电开关/u352_seg3.png" alt="u352_seg3"/>
        <div id="u352_text" class="text " style="display:none; visibility: hidden">
          <p></p>
        </div>
      </div>

      <!-- Unnamed (连接线) -->
      <div id="u353" class="ax_default _连接线">
        <img id="u353_seg0" class="img " src="images/反射式光电开关/u353_seg0.png" alt="u353_seg0"/>
        <img id="u353_seg1" class="img " src="images/反射式光电开关/u353_seg1.png" alt="u353_seg1"/>
        <img id="u353_seg2" class="img " src="images/反射式光电开关/u352_seg2.png" alt="u353_seg2"/>
        <img id="u353_seg3" class="img " src="images/反射式光电开关/u353_seg3.png" alt="u353_seg3"/>
        <img id="u353_seg4" class="img " src="images/反射式光电开关/u352_seg0.png" alt="u353_seg4"/>
        <div id="u353_text" class="text " style="display:none; visibility: hidden">
          <p></p>
        </div>
      </div>

      <!-- Unnamed (连接线) -->
      <div id="u354" class="ax_default _连接线">
        <img id="u354_seg0" class="img " src="images/反射式光电开关/u354_seg0.png" alt="u354_seg0"/>
        <img id="u354_seg1" class="img " src="images/反射式光电开关/u354_seg1.png" alt="u354_seg1"/>
        <div id="u354_text" class="text " style="display:none; visibility: hidden">
          <p></p>
        </div>
      </div>

      <!-- Unnamed (连接线) -->
      <div id="u355" class="ax_default _连接线">
        <img id="u355_seg0" class="img " src="images/反射式光电开关/u355_seg0.png" alt="u355_seg0"/>
        <img id="u355_seg1" class="img " src="images/反射式光电开关/u355_seg1.png" alt="u355_seg1"/>
        <img id="u355_seg2" class="img " src="images/反射式光电开关/u355_seg2.png" alt="u355_seg2"/>
        <img id="u355_seg3" class="img " src="images/反射式光电开关/u355_seg3.png" alt="u355_seg3"/>
        <div id="u355_text" class="text " style="display:none; visibility: hidden">
          <p></p>
        </div>
      </div>

      <!-- Unnamed (矩形) -->
      <div id="u356" class="ax_default _一级标题">
        <div id="u356_div" class=""></div>
        <div id="u356_text" class="text ">
          <p><span>示例代码：</span></p>
        </div>
      </div>

      <!-- Unnamed (矩形) -->
      <div id="u357" class="ax_default _文本段落">
        <div id="u357_div" class=""></div>
        <div id="u357_text" class="text ">
          <p><span>#define LEDPIN 4</span></p><p><span>#define SWITCHPIN A0</span></p><p><span>#define THRESHOLD 200&nbsp;&nbsp; //检测有没有障碍物的临界值</span></p><p><span><br></span></p><p><span>int iv; //可以理解成输入电压，arduino模拟针脚能获取到0~5V电压，将这个范围分成1024分，每份0.48mv。</span></p><p><span>&nbsp;&nbsp; &nbsp; &nbsp;&nbsp; //这里获取到的iv只是算的电压在这1024份里的占比，实际电压要乘0.48.</span></p><p><span>&nbsp;&nbsp; &nbsp; &nbsp;&nbsp; //作为程序判断逻辑不需要计算真实电压，只需要知道有没有感应到附近有反射光的物体就可以。所以没有乘0.48</span></p><p><span>void setup(){</span></p><p><span>&nbsp; pinMode(LEDPIN,OUTPUT);</span></p><p><span>&nbsp; Serial.begin(9600);</span></p><p><span>}</span></p><p><span><br></span></p><p><span>void loop(){</span></p><p><span>&nbsp; iv = analogRead(SWITCHPIN);</span></p><p><span>&nbsp; if(iv &gt; THRESHOLD){&nbsp; &nbsp;&nbsp; //</span></p><p><span>&nbsp;&nbsp;&nbsp; digitalWrite(LEDPIN, HIGH);</span></p><p><span>&nbsp; }</span></p><p><span>&nbsp; else{</span></p><p><span>&nbsp;&nbsp;&nbsp; digitalWrite(LEDPIN, LOW);</span></p><p><span>&nbsp; }</span></p><p><span>&nbsp; Serial.println(iv);</span></p><p><span>&nbsp; //delay(1000);</span></p><p><span>}</span></p>
        </div>
      </div>

      <!-- Unnamed (矩形) -->
      <div id="u358" class="ax_default _一级标题">
        <div id="u358_div" class=""></div>
        <div id="u358_text" class="text ">
          <p><span>运行结果：</span></p>
        </div>
      </div>

      <!-- Unnamed (矩形) -->
      <div id="u359" class="ax_default label">
        <div id="u359_div" class=""></div>
        <div id="u359_text" class="text ">
          <p><span>手挡在光电开关上面会亮灯，手拿开后灯会熄灭。</span></p>
        </div>
      </div>
    </div>
  </body>
</html>
